
#include<stdio.h> 
int main()
{
	   
	 int x,y;

		for(x=1,y=1;x<100;x++)
	{
		if(y>=15)
			break;
		if(y%3==1)
    	{
			y+=3;
			continue;
		}
		y-=5;
	}
	printf("x=%d,y=%d\n",x,y);
	return 0;
		}
